package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceVisitedExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceVisitedExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentIsNull() {
            addCriterion("bussiness_represent is null");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentIsNotNull() {
            addCriterion("bussiness_represent is not null");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentEqualTo(String value) {
            addCriterion("bussiness_represent =", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentNotEqualTo(String value) {
            addCriterion("bussiness_represent <>", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentGreaterThan(String value) {
            addCriterion("bussiness_represent >", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentGreaterThanOrEqualTo(String value) {
            addCriterion("bussiness_represent >=", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentLessThan(String value) {
            addCriterion("bussiness_represent <", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentLessThanOrEqualTo(String value) {
            addCriterion("bussiness_represent <=", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentLike(String value) {
            addCriterion("bussiness_represent like", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentNotLike(String value) {
            addCriterion("bussiness_represent not like", value, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentIn(List<String> values) {
            addCriterion("bussiness_represent in", values, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentNotIn(List<String> values) {
            addCriterion("bussiness_represent not in", values, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentBetween(String value1, String value2) {
            addCriterion("bussiness_represent between", value1, value2, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBussinessRepresentNotBetween(String value1, String value2) {
            addCriterion("bussiness_represent not between", value1, value2, "bussinessRepresent");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleIsNull() {
            addCriterion("be_visited_people is null");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleIsNotNull() {
            addCriterion("be_visited_people is not null");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleEqualTo(String value) {
            addCriterion("be_visited_people =", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleNotEqualTo(String value) {
            addCriterion("be_visited_people <>", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleGreaterThan(String value) {
            addCriterion("be_visited_people >", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleGreaterThanOrEqualTo(String value) {
            addCriterion("be_visited_people >=", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleLessThan(String value) {
            addCriterion("be_visited_people <", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleLessThanOrEqualTo(String value) {
            addCriterion("be_visited_people <=", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleLike(String value) {
            addCriterion("be_visited_people like", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleNotLike(String value) {
            addCriterion("be_visited_people not like", value, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleIn(List<String> values) {
            addCriterion("be_visited_people in", values, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleNotIn(List<String> values) {
            addCriterion("be_visited_people not in", values, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleBetween(String value1, String value2) {
            addCriterion("be_visited_people between", value1, value2, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPeopleNotBetween(String value1, String value2) {
            addCriterion("be_visited_people not between", value1, value2, "beVisitedPeople");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneIsNull() {
            addCriterion("be_visited_phone is null");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneIsNotNull() {
            addCriterion("be_visited_phone is not null");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneEqualTo(String value) {
            addCriterion("be_visited_phone =", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneNotEqualTo(String value) {
            addCriterion("be_visited_phone <>", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneGreaterThan(String value) {
            addCriterion("be_visited_phone >", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("be_visited_phone >=", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneLessThan(String value) {
            addCriterion("be_visited_phone <", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneLessThanOrEqualTo(String value) {
            addCriterion("be_visited_phone <=", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneLike(String value) {
            addCriterion("be_visited_phone like", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneNotLike(String value) {
            addCriterion("be_visited_phone not like", value, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneIn(List<String> values) {
            addCriterion("be_visited_phone in", values, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneNotIn(List<String> values) {
            addCriterion("be_visited_phone not in", values, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneBetween(String value1, String value2) {
            addCriterion("be_visited_phone between", value1, value2, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedPhoneNotBetween(String value1, String value2) {
            addCriterion("be_visited_phone not between", value1, value2, "beVisitedPhone");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesIsNull() {
            addCriterion("be_visited_duites is null");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesIsNotNull() {
            addCriterion("be_visited_duites is not null");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesEqualTo(String value) {
            addCriterion("be_visited_duites =", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesNotEqualTo(String value) {
            addCriterion("be_visited_duites <>", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesGreaterThan(String value) {
            addCriterion("be_visited_duites >", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesGreaterThanOrEqualTo(String value) {
            addCriterion("be_visited_duites >=", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesLessThan(String value) {
            addCriterion("be_visited_duites <", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesLessThanOrEqualTo(String value) {
            addCriterion("be_visited_duites <=", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesLike(String value) {
            addCriterion("be_visited_duites like", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesNotLike(String value) {
            addCriterion("be_visited_duites not like", value, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesIn(List<String> values) {
            addCriterion("be_visited_duites in", values, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesNotIn(List<String> values) {
            addCriterion("be_visited_duites not in", values, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesBetween(String value1, String value2) {
            addCriterion("be_visited_duites between", value1, value2, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andBeVisitedDuitesNotBetween(String value1, String value2) {
            addCriterion("be_visited_duites not between", value1, value2, "beVisitedDuites");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(Integer value) {
            addCriterion("result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(Integer value) {
            addCriterion("result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(Integer value) {
            addCriterion("result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(Integer value) {
            addCriterion("result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(Integer value) {
            addCriterion("result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(Integer value) {
            addCriterion("result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<Integer> values) {
            addCriterion("result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<Integer> values) {
            addCriterion("result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(Integer value1, Integer value2) {
            addCriterion("result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(Integer value1, Integer value2) {
            addCriterion("result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andBuyWayIsNull() {
            addCriterion("buy_way is null");
            return (Criteria) this;
        }

        public Criteria andBuyWayIsNotNull() {
            addCriterion("buy_way is not null");
            return (Criteria) this;
        }

        public Criteria andBuyWayEqualTo(Integer value) {
            addCriterion("buy_way =", value, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayNotEqualTo(Integer value) {
            addCriterion("buy_way <>", value, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayGreaterThan(Integer value) {
            addCriterion("buy_way >", value, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayGreaterThanOrEqualTo(Integer value) {
            addCriterion("buy_way >=", value, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayLessThan(Integer value) {
            addCriterion("buy_way <", value, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayLessThanOrEqualTo(Integer value) {
            addCriterion("buy_way <=", value, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayIn(List<Integer> values) {
            addCriterion("buy_way in", values, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayNotIn(List<Integer> values) {
            addCriterion("buy_way not in", values, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayBetween(Integer value1, Integer value2) {
            addCriterion("buy_way between", value1, value2, "buyWay");
            return (Criteria) this;
        }

        public Criteria andBuyWayNotBetween(Integer value1, Integer value2) {
            addCriterion("buy_way not between", value1, value2, "buyWay");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionIsNull() {
            addCriterion("leader_opinion is null");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionIsNotNull() {
            addCriterion("leader_opinion is not null");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionEqualTo(String value) {
            addCriterion("leader_opinion =", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionNotEqualTo(String value) {
            addCriterion("leader_opinion <>", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionGreaterThan(String value) {
            addCriterion("leader_opinion >", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionGreaterThanOrEqualTo(String value) {
            addCriterion("leader_opinion >=", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionLessThan(String value) {
            addCriterion("leader_opinion <", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionLessThanOrEqualTo(String value) {
            addCriterion("leader_opinion <=", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionLike(String value) {
            addCriterion("leader_opinion like", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionNotLike(String value) {
            addCriterion("leader_opinion not like", value, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionIn(List<String> values) {
            addCriterion("leader_opinion in", values, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionNotIn(List<String> values) {
            addCriterion("leader_opinion not in", values, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionBetween(String value1, String value2) {
            addCriterion("leader_opinion between", value1, value2, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andLeaderOpinionNotBetween(String value1, String value2) {
            addCriterion("leader_opinion not between", value1, value2, "leaderOpinion");
            return (Criteria) this;
        }

        public Criteria andPictureIsNull() {
            addCriterion("picture is null");
            return (Criteria) this;
        }

        public Criteria andPictureIsNotNull() {
            addCriterion("picture is not null");
            return (Criteria) this;
        }

        public Criteria andPictureEqualTo(String value) {
            addCriterion("picture =", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotEqualTo(String value) {
            addCriterion("picture <>", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThan(String value) {
            addCriterion("picture >", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThanOrEqualTo(String value) {
            addCriterion("picture >=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThan(String value) {
            addCriterion("picture <", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThanOrEqualTo(String value) {
            addCriterion("picture <=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLike(String value) {
            addCriterion("picture like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotLike(String value) {
            addCriterion("picture not like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureIn(List<String> values) {
            addCriterion("picture in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotIn(List<String> values) {
            addCriterion("picture not in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureBetween(String value1, String value2) {
            addCriterion("picture between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotBetween(String value1, String value2) {
            addCriterion("picture not between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeIsNull() {
            addCriterion("visite_time is null");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeIsNotNull() {
            addCriterion("visite_time is not null");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeEqualTo(Date value) {
            addCriterion("visite_time =", value, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeNotEqualTo(Date value) {
            addCriterion("visite_time <>", value, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeGreaterThan(Date value) {
            addCriterion("visite_time >", value, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("visite_time >=", value, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeLessThan(Date value) {
            addCriterion("visite_time <", value, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeLessThanOrEqualTo(Date value) {
            addCriterion("visite_time <=", value, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeIn(List<Date> values) {
            addCriterion("visite_time in", values, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeNotIn(List<Date> values) {
            addCriterion("visite_time not in", values, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeBetween(Date value1, Date value2) {
            addCriterion("visite_time between", value1, value2, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andVisiteTimeNotBetween(Date value1, Date value2) {
            addCriterion("visite_time not between", value1, value2, "visiteTime");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(Integer value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(Integer value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(Integer value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(Integer value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(Integer value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<Integer> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<Integer> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(Integer value1, Integer value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}